package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.ProjectPlans;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    NursingLevel findById(Integer id);

    List<NursingLevel> findAll();

    void insert(NursingLevel nursingLevel);


    void update(NursingLevel nursingLevel);


    void delete(Long id);

    Page<NursingLevel> findPage(String name, Integer status);

    void able(Long id, Integer status);
}
